module.exports = {
    publicPath: "./",
    devServer: {
        port: 9000,
        host: "0.0.0.0",
        proxy: {
            '^/api': {
                target: "http://127.0.0.1:80"
            }
        }
    },
    pages: {
        admin_ele: {
            entry: "src/modules/admin_ele/admin_ele.js",
            template: "public/admin_ele.html",
            filename: "admin_ele.html",
            title: "饿了么UI后台"
        },
        admin_layui: {
            entry: "src/modules/admin_layui/admin_layui.js",
            template: "public/admin_layui.html",
            filename: "admin_layui.html",
            title: "Layui的UI后台"
        },
        freestay: {
            entry: "src/modules/freestay/freestay.js",
            template: "public/freestay.html",
            filename: "freestay.html",
            title: "日月同城"
        },
        shoping: {
            entry: "src/modules/shoping/shoping.js",
            template: "public/shoping.html",
            filename: "shoping.html",
            title: "Vuex的例子"
        },
        bill: {
            entry: "src/modules/bill/bill.js",
            template: "public/bill.html",
            filename: "bill.html",
            title: "账单管理"
        }
    }
} 